using System;
using System.Data;
using MetaObjects.Contracts;

namespace MetaObjects.Core
{
	public class DataRowMapper<T> : IMapper<DataRow, T>
	{
		public Func<DataRow, T> Map { get; private set; }

		public DataRowMapper(Func<DataRow, T> map)
		{
			Map = map;
		}
	}
}